/**
 * 
 */
package contestmachine.entry.model;

import java.util.Date;

import contestmachine.core.config.Mode;
import contestmachine.core.config.VFO;

/**
 * @author aisaenko
 * 
 */
public class QSO implements VFO, Mode {

	private Long id;
	private Double frequency;
	private Date qsoDate;
	private String callsign;
	private String rstSent;
	private String rstReceived;
	private Integer vfo;
	private Boolean isMultiplier;
	private Boolean isDuplicated;
	private Integer mode;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the frequency
	 */
	public Double getFrequency() {
		return frequency;
	}

	/**
	 * @param frequency
	 *            the frequency to set
	 */
	public void setFrequency(Double frequency) {
		this.frequency = frequency;
	}

	/**
	 * @return the qsoDate
	 */
	public Date getQsoDate() {
		return qsoDate;
	}

	/**
	 * @param qsoDate
	 *            the qsoDate to set
	 */
	public void setQsoDate(Date qsoDate) {
		this.qsoDate = qsoDate;
	}

	/**
	 * @return the callsign
	 */
	public String getCallsign() {
		return callsign;
	}

	/**
	 * @param callsign
	 *            the callsign to set
	 */
	public void setCallsign(String callsign) {
		this.callsign = callsign;
	}

	/**
	 * @return the rstSent
	 */
	public String getRstSent() {
		return rstSent;
	}

	/**
	 * @param rstSent
	 *            the rstSent to set
	 */
	public void setRstSent(String rstSent) {
		this.rstSent = rstSent;
	}

	/**
	 * @return the rstReceived
	 */
	public String getRstReceived() {
		return rstReceived;
	}

	/**
	 * @param rstReceived
	 *            the rstReceived to set
	 */
	public void setRstReceived(String rstReceived) {
		this.rstReceived = rstReceived;
	}

	/**
	 * @return the vfo
	 */
	public Integer getVfo() {
		return vfo;
	}

	/**
	 * @param vfo
	 *            the vfo to set
	 */
	public void setVfo(Integer vfo) {
		this.vfo = vfo;
	}

	/**
	 * @return the isMultiplier
	 */
	public boolean isMultiplier() {
		return isMultiplier.booleanValue();
	}

	/**
	 * @param isMultiplier
	 *            the isMultiplier to set
	 */
	public void setMultiplier(boolean isMultiplier) {
		this.isMultiplier = new Boolean(isMultiplier);
	}

	/**
	 * @return the isDuplicated
	 */
	public boolean isDuplicated() {
		return isDuplicated.booleanValue();
	}

	/**
	 * @param isDuplicated
	 *            the isDuplicated to set
	 */
	public void setDuplicated(boolean isDuplicated) {
		this.isDuplicated = new Boolean(isDuplicated);
	}

	/**
	 * @return the mode
	 */
	public Integer getMode() {
		return mode;
	}

	/**
	 * @param mode
	 *            the mode to set
	 */
	public void setMode(Integer mode) {
		this.mode = mode;
	}

}
